<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>百顺通云-后台注册企业账户管理</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- 公用CSS文件引入 -->
        <jsp:include page="../../admin/commonCSS.jsp"></jsp:include>
        
    </head>
    <body class="skin-blue">
        
		<!-- 公用头部 -->
        <jsp:include page="../../admin/commonHeader.jsp"></jsp:include>
        
        <div class="wrapper row-offcanvas row-offcanvas-left">
            
            <!-- 公用导航 -->
            <jsp:include page="../../admin/commonMenu.jsp"></jsp:include>

            <!-- Right side column. Contains the navbar and content of the page -->
            <aside class="right-side">
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                      注册企业账户管理
                        <small>注册企业账户列表</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
                        <li class="active">注册企业账户列表</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
                    <!-- Small boxes (Stat box) -->
                    <div>
						<input type="hidden" name="userId" id="userId" value="${userInfo.userId}"> 
						用户名：<label>${userInfo.userEmail}</label>
					</div>
				
                    <div class="row fixrowscroll">
                        
                        <!-- table数据 -->
                        <div class="box-body table-responsive">
                            <div class="dataTables_wrapper form-inline fixwrapperscroll" role="grid">
                                <div class="row">
                                    <div class="col-xs-6"></div>
                                    <div class="col-xs-6"></div>
                                </div>
                                <table id="userCompList" class="table table-bordered table-hover dataTable" aria-describedby="example2_info">
                                    <thead>
                                        <tr role="row">
                                            <th style="width: 45px;" class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">序号</th>
                                            <th class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">账户名</th>
                                            <th class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">注册时间</th>
                                            <th class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">联系人</th>
                                            <th class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">账户余额（元）</th>
                                            <th class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">公司全称</th>
                                            <th class="sorting" role="columnheader" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">操作</th>
                                        </tr>
                                    </thead>

									<tbody role="alert" aria-live="polite" aria-relevant="all">
										<%-- <c:forEach items="${userVoList}" var="userVo" varStatus="status">
											<tr>
	                                        	<td>${status.index+1}</td>
	                                        	<td>${userVo.userEmail}</td>
	                                        	<td>${userVo.phone}</td>
	                                        	<td>
	                                        		<c:if test="${userVo.accountMoney != null && userVo.accountMoney != ''}">
	                                        			<fmt:formatNumber value="${userVo.accountMoney}" pattern="#0.00"/>元</c:if>
	                                        		<c:if test="${userVo.accountMoney == null || userVo.accountMoney == ''}">
	                                        			0.00元</c:if>
	                                        	
	                                        	</td>
	                                        	<td>${userVo.virtualPhone}</td>
	                                        	<td>${userVo.realName}</td>
	                                        	<td><a class="btn btn-primary" href="/userAdmin/userDetail/${userVo.userId}">查看详情</a></td>
	                                        </tr>
										</c:forEach> --%>
                                        
                                    </tbody>
                                </table>
                                <div id="pagesbox"></div>
                            </div>
                        </div>


                    </div><!-- /.row -->
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->
		<script type="text/javascript">
			var currentMenu = 'userManager';
		</script>
		<!-- 公用js文件引入 -->
        <jsp:include page="../../admin/commonJs.jsp"></jsp:include>
        <script src="/js/admin/userManager/userCompListManager.js"></script>
    </body>
</html>
